Skip to content

[3.10] bpo-46080: fix argparse help generation exception in edge case (GH-30111)#30730

Merged
miss-islington merged 1 commit intopython:3.10from
miss-islington:backport-9e87c0e-3.10
Jan 20, 2022
Merged

[3.10] bpo-46080: fix argparse help generation exception in edge case (GH-30111)#30730
miss-islington merged 1 commit intopython:3.10from
miss-islington:backport-9e87c0e-3.10

Conversation

@miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Jan 20, 2022

Fix an uncaught exception during help text generation when
argparse.BooleanOptionalAction is used with default=argparse.SUPPRESS
and help is specified.
(cherry picked from commit 9e87c0e)

Co-authored-by: Felix Fontein felix@fontein.de

https://bugs.python.org/issue46080

…nGH-30111)

Fix an uncaught exception during help text generation when
argparse.BooleanOptionalAction is used with default=argparse.SUPPRESS
and help is specified.
(cherry picked from commit 9e87c0e)

Co-authored-by: Felix Fontein <felix@fontein.de>
@miss-islington
Copy link
Contributor Author

@felixfontein and @taleinat: Status check is done, and it's a success ✅ .

@miss-islington
Copy link
Contributor Author

@felixfontein and @taleinat: Status check is done, and it's a success ✅ .

@miss-islington miss-islington merged commit e5edc8d into python:3.10 Jan 20, 2022
@miss-islington miss-islington deleted the backport-9e87c0e-3.10 branch January 20, 2022 23:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type-bug An unexpected behavior, bug, or error

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants